home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / beos / PPBeDevKit.ZIP / PLAYERPR.TAR / PlayerPRO / Source / Import-Export / 669.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-26  |  1.6 KB  |  78 lines

  1. /********************                        ***********************/
  2. //
  3. //    Player PRO 5.0 - DRIVER SOURCE CODE -
  4. //
  5. //    Library Version 5.0
  6. //
  7. //    To use with MAD Library for Mac: Symantec, CodeWarrior and MPW
  8. //
  9. //    Antoine ROSSET
  10. //    16 Tranchees
  11. //    1206 GENEVA
  12. //    SWITZERLAND
  13. //
  14. //    COPYRIGHT ANTOINE ROSSET 1996, 1997, 1998
  15. //
  16. //    Thank you for your interest in PlayerPRO !
  17. //
  18. //    FAX:                (+41 22) 346 11 97
  19. //    PHONE:             (+41 79) 203 74 62
  20. //    Internet:     RossetAntoine@bluewin.ch
  21. //
  22. /********************                        ***********************/
  23.  
  24. #if defined(powerc) || defined (__powerc)
  25. #pragma options align=mac68k
  26. #endif
  27.  
  28.  
  29. struct PasByte {
  30.     Byte    aByte[ 3];
  31. };
  32. typedef struct PasByte PasByte;
  33.  
  34. struct PatCmd {
  35.     unsigned short AmigaPeriod : 6;
  36.     unsigned short Instru : 6;
  37.     unsigned short Volume : 4;
  38.     unsigned short EffectCmd : 4;
  39.     unsigned short EffectArg : 4;
  40. };
  41.  
  42. struct PatSix {
  43.         struct PatCmd Cmds[ 64][ 8];
  44. };
  45.  
  46. struct    SampleInfo    {
  47.     //    char    InstruFilename[ 13];
  48.         unsigned    short    length;
  49.         unsigned    short    loopStart;
  50.         unsigned    short    loopEnd;
  51. };
  52. typedef        struct SampleInfo    SampleInfo;
  53.  
  54. struct    SixSixNine    {
  55.         short        marker;
  56.         char        message[ 108];
  57.         Byte        NOS;
  58.         Byte        NOP;
  59.         Byte        loopOrder;
  60.         Byte        orderList[ 0x80];
  61.         Byte        tempoList[ 0x80];
  62.         Byte        breakList[ 0x80];
  63.         SampleInfo    fid[];
  64. };
  65. typedef        struct SixSixNine    SixSixNine;
  66.  
  67. struct    Partition669    {
  68.         SixSixNine        *theFile;
  69.         SampleInfo        *sampleInfo;
  70.         Ptr                samplePtr[ 128];
  71.         Ptr                patternPtr[ 128];
  72. };
  73. typedef        struct Partition669    Partition669;
  74.  
  75. #if defined(powerc) || defined(__powerc)
  76. #pragma options align=reset
  77. #endif
  78.